﻿<Window x:Class="Cryomancer.StarChart.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:Cryomancer.StarChart"
    Title="Window1" Height="768" Width="1200">
    <Window.Resources>
        <Style TargetType="{x:Type Label}" >
            <Setter Property="Foreground" Value="{StaticResource TextColor}" />
        </Style>
    </Window.Resources>
    <DockPanel Background="{StaticResource BackgroundSpace}" LastChildFill="True" >
		<StackPanel DockPanel.Dock="Left" Width="300">
            <Border Background="{StaticResource BackgroundCtrlSpace}"  CornerRadius="20" Margin="5" Padding="5,10">
                <StackPanel>
			        <local:VSPChartDetailCtrl  x:Name="MainDetailCtrl"/>
                    <Button Width="120" Click="Button_Click">Load</Button>
                </StackPanel>
            </Border>
            <Border Background="{StaticResource BackgroundCtrlSpace}" CornerRadius="20" Margin="5" Padding="10">
                <local:TelescopeDetailCtrl x:Name="MainTelescopeCtrl" />
            </Border>
		</StackPanel>
        <Border Background="{StaticResource BackgroundCtrlSpace}" CornerRadius="20" Margin="5" Padding="10">
            <local:VSPChartView x:Name="MainChartView" ZoomFactor="0.05"  ZoomOutThreshold="30" ZoomInThreshold="5" ChartZoom="MainChartView_ChartZoom" />
        </Border>
    </DockPanel>
</Window>
